package org.yang.common.core.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * cookie配置
 *
 * @author: lslands
 * @description:
 * @version：v1.0
 * @date: 2024/6/14 11:33
 */
@Data
@Component
@ConfigurationProperties(prefix = "cookie")
public class CookieProperties {

    /**
     * cookie  域名
     */
    private String cookieDomain;
    /**
     *  cookie 过期时间
     *  -1  表示没有过期时间
     */
    private Integer cookieMaxAge;

}
